package com.love.marriage.TecentIm.vo;

import com.love.marriage.userInfo.vo.UserVo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * description:  CharEachHistoryVo
 * author:       mybatisPlus
 * createDate:   2024-10-17 21:19:44
 * version:      1.0.0
 */
@Getter
@Setter
@Accessors(chain = true)
@Schema(name = "LocalImChatListVo", description = "本地im聊天列表记录")
public class LocalImChatListVo {

    @Schema(description = "id", type = "Integer", implementation = Integer.class)
    private Integer id;

    @Schema(description = "应用id", type = "Integer", implementation = Integer.class)
    private Integer appId;

    @Schema(description = "本地imId", type = "Integer", implementation = Integer.class)
    private Long uid;

    @Schema(description = "当前人信息", type = "UserVo", implementation = UserVo.class)
    private UserVo userInfo;

    @Schema(description = "本地im接收人Id", type = "Integer", implementation = Integer.class)
    private Long toUid;

    @Schema(description = "接收人信息", type = "UserVo", implementation = UserVo.class)
    private UserVo toUserInfo;

    @Schema(description = "模式", type = "Integer", implementation = Integer.class)
    private Integer mode;

    @Schema(description = "创建时间(数字)", type = "Integer", implementation = Integer.class)
    private Integer createdTime;

    @Schema(description = "创建时间", type = "String", implementation = String.class)
    private String createdAt;

    @Schema(description = "更新时间(数字)", type = "Integer", implementation = Integer.class)
    private Integer updatedTime;

    @Schema(description = "更新时间", type = "String", implementation = String.class)
    private String updatedAt;

    @Schema(description = "消息", type = "String", implementation = String.class)
    private String messageInfo;

    @Schema(description = "未读数量", type = "Integer", implementation = Integer.class)
    private Integer unreadCount;
}
